package com.wolf.service.impl;

import com.wolf.pojo.Wl_subject;
import com.wolf.repository.Wl_subjectMapper;
import com.wolf.service.Wl_subjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Wl_subjectServiceImpl implements Wl_subjectService {

    @Autowired
    private Wl_subjectMapper wl_subjectMapper;

    public void setWl_subjectMapper(Wl_subjectMapper wl_subjectMapper) {
        this.wl_subjectMapper = wl_subjectMapper;
    }

    @Override
    public int deleteByPrimaryKey(String id) {
        return wl_subjectMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Wl_subject record) {
        return 0;
    }

    @Override
    public int insertSelective(Wl_subject record) {
        return 0;
    }

    @Override
    public Wl_subject selectByPrimaryKey(String id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_subject record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Wl_subject record) {
        return 0;
    }

    @Override
    public List<Wl_subject> getAll() {
        return wl_subjectMapper.getAll();
    }
}
